/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.facade;

import info.peigen.hotpot.manage.core.service.order.RoleCreateOrder;
import info.peigen.hotpot.manage.core.service.order.RoleEditOrder;
import info.peigen.hotpot.manage.core.service.result.RoleCreateResult;
import info.peigen.hotpot.manage.core.service.result.RoleEditResult;

/**
 * <b>(RoleServiceFacade)</b>
 * "角色" 门面服务
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
public interface RoleServiceFacade {
    /**
     * 创建接口
     *
     * @param order RoleCreateOrder
     *
     * @return RoleCreateResult
     */
    RoleCreateResult create(RoleCreateOrder order);

    /**
     * 编辑接口
     *
     * @param order RoleEditOrder
     *
     * @return RoleEditResult
     */
    RoleEditResult edit(RoleEditOrder order);
}